package net.gzw1993.runmate.bean;

import java.io.Serializable;

/**
 * Created by guoziwei on 2015/8/19.
 */
public class Recorder implements Serializable {
    /**
     * totalSeconds : 616
     * id : 37b137e0454111e5ada200163e0221a7
     * createTime : 1439858212000
     * pace : 13′00″
     * distance : 0.79
     * avgSpeed : 4.63
     * location : 深圳市南山区
     * description :
     * totalCalories : 64.51
     * img : http://7tebi3.com1.z0.glb.clouddn.com/37b137e0454111e5ada200163e0221a71439858211423
     */
    private int totalSeconds;
    private String id;
    private long createTime;
    private String pace;
    private double distance;
    private double avgSpeed;
    private String location;
    private String description;
    private double totalCalories;
    private String img;

    public void setTotalSeconds(int totalSeconds) {
        this.totalSeconds = totalSeconds;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public void setPace(String pace) {
        this.pace = pace;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public void setAvgSpeed(double avgSpeed) {
        this.avgSpeed = avgSpeed;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setTotalCalories(double totalCalories) {
        this.totalCalories = totalCalories;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getTotalSeconds() {
        return totalSeconds;
    }

    public String getId() {
        return id;
    }

    public long getCreateTime() {
        return createTime;
    }

    public String getPace() {
        return pace;
    }

    public double getDistance() {
        return distance;
    }

    public double getAvgSpeed() {
        return avgSpeed;
    }

    public String getLocation() {
        return location;
    }

    public String getDescription() {
        return description;
    }

    public double getTotalCalories() {
        return totalCalories;
    }

    public String getImg() {
        return img;
    }

    @Override
    public String toString() {
        return "Recorder{" +
                "totalSeconds=" + totalSeconds +
                ", id='" + id + '\'' +
                ", createTime=" + createTime +
                ", pace='" + pace + '\'' +
                ", distance=" + distance +
                ", avgSpeed=" + avgSpeed +
                ", location='" + location + '\'' +
                ", description='" + description + '\'' +
                ", totalCalories=" + totalCalories +
                ", img='" + img + '\'' +
                '}';
    }
}